<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <link rel="stylesheet" href="../../../../src/css/common/reset.css">
    <link rel="stylesheet" href="com-message.css">
    <script src="../../lib/jquery.js"></script>
    <script src="com-message.js"></script>
</head>
<body>

    <div class="demo clearfix" onclick="a1()">123</div>
<script>

    function a1(){
        $.comMessage({  //可选(warning/success/prompt)
            type:'prompt',
            text:'信息提示！',
            time:3000000,
            animateTop:'20px',
            callback:function(){}
        })
    }

</script>
</body>
</html>